package com.tang.dao;

import com.tang.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
@Mapper
public interface UserMapper {
    //查询用户
//    @Select("select * from user where username=#{username} and password=#{password}")
    User findUser(@Param("username") String username, @Param("password") String password);
}
